package com.youhome.service.mapper;

import com.youhome.service.model.HouseFloorPlan;
import com.youhome.service.model.ListHubPhoto;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HouseFloorPlanMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HouseFloorPlan record);

    int insertSelective(HouseFloorPlan record);

    int insertBatch(List<HouseFloorPlan> list);

    HouseFloorPlan selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HouseFloorPlan record);

    int updateByPrimaryKey(HouseFloorPlan record);

    List<HouseFloorPlan> selectByHouseId(Long houseId);
}